#pragma once
#include "controllerbase.h"
#include "Tank.h"
#include <SFML\Network.hpp>

namespace cat
{
	class RemoteController :
		public cat::ControllerBase
	{
	private:
		sf::TcpSocket* _socket;

	protected:
		void treatEvent(sf::Event& event) override;
		virtual void think(void) override;

	public:
		
		RemoteController(Tank& tank, sf::TcpSocket* socket);
		~RemoteController(void);
	};
}